import {FormRuleUtil} from "@/utils";


export const EGG_PRODUCT = {
    BODY:{
        title:'',
        eggQuantity:0,
        postFee:0,
    },
    RULES: {
        title: FormRuleUtil.strRule("兑换标题", true  , 30),
        eggQuantity: FormRuleUtil.numRule("鸡蛋数量", true, 1,10000),
        postFee: FormRuleUtil.numRule("运费金币数", true, 0)
    }
}





export const EGG_SEND = {
    BODY:{
        id:'' ,
        expressName:'',
        expressCode:'',
        expressFee:0,
    },
    RULES: {
        expressName: FormRuleUtil.strRule("快递名称", true  , 30),
        expressCode: FormRuleUtil.strRule("快递单号", true, 30),
        expressFee: FormRuleUtil.numRule("快递费用", true, 0)
    }
}
